home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 016 / noyb.arc / NOYB.DOC < prev   
Encoding:
Text File  |  1986-07-18  |  3.0 KB  |  95 lines

  1.      I wrote NOYB ('None Of Your Business') specically to allow myself
  2.  
  3. a quick and convinent method for clearing a screen.  Two situations
  4.  
  5. continue to arise:
  6.  
  7.      1). I have confidential information displayed on the screen when
  8.  
  9.          someone not privy to that information enters my office.
  10.  
  11.      2). I am in the midst of an application when I must suddenly leave
  12.  
  13.          the office for a short period of time.  This situation was the
  14.  
  15.          real reason I wrote the utility.
  16.  
  17.  
  18.      NOYB is a resident utility which replaces the current keyboard
  19.  
  20. interrupt routine.  If the <Alt> and NOYB's toggle key are pressed,
  21.  
  22. NOYB will save the caller's video environment, clear the screen and turn
  23.  
  24. off the cursor.  In this version of NOYB, the toggle key is the letter
  25.  
  26. 'Z' key.  If you own a macro assembler, you can (and should) change the
  27.  
  28. the toggle key to something different.  NOYB 'blanks' the screen in a
  29.  
  30. safe manner.  It simply writes all spaces to the screen using the
  31.  
  32. standard attributes of background = black, and foreground = white.  No
  33.  
  34. tricks with the video signal are used.  The screen is written directly
  35.  
  36. to video memory (for the purpose of speed) and makes no attempt to pre-
  37.  
  38. vent the 'snow effect' on CGA cards in text modes.  The idea was to
  39.  
  40. clear the screen quickly, not cosmetically.  The purpose of turning off
  41.  
  42. the cursor was to give the PC the appearance of not being turned on, to
  43.  
  44. anyone looking into my office from the hall.
  45.  
  46.  
  47.      NOYB, when toggled, will only operate in 80 column text modes.  NOYB
  48.  
  49. checks the video mode each time it is toggled.  If the caller is not in
  50.  
  51. a text mode, when NOYB is requested, the request is ignored.  NOYB also
  52.  
  53. checks for recursion (i.e. if NOYB is currently active, pressing <Alt>
  54.  
  55. and the toggle key again will produce an ignored request).
  56.  
  57.  
  58.  
  59.      NOYB, when active, will ingore any keyboard requests other than
  60.  
  61. the toggle key pressed by itself.  This was done to protect the callers
  62.  
  63. current application from receiving any stray input.  When the toggle key
  64.  
  65. is pressed by itself, NOYB will restore the callers original video environ
  66.  
  67. ment, and return the caller to exactly where he was prior to toggling NOYB
  68.  
  69. active.
  70.  
  71.  
  72.      I have yet to find an application (which works in text mode) that
  73.  
  74. NOYB acts badly with, however that doesn't mean one dosen't exist.  It
  75.  
  76. works for blanking the screen when SideKick is loaded and/or currently
  77.  
  78. displaying one of it's windows, especially the NotePad window, which would
  79.  
  80. probably be the most likely of SideKick's windows to contain confidential
  81.  
  82. information.
  83.  
  84.  
  85.      As stated before, I needed a utility to perform NOYB's function,
  86.  
  87. (without giving up the amount of memory SuperKey would use),  and it
  88.  
  89. works fine for me and others that I have given a copy to.  So, if you
  90.  
  91. also find NOYB useful, feel free to use it and/or give copies of it away.
  92.  
  93.  
  94.  
  95.